import axios from '../common/configHttp'


//置标管理数据接口
export function getList(data) {
    return axios.post('collect/tLabelInfo/selectList', data)
}

//新增置标管理数据
export function addList(data) {
    return axios.post('collect/tLabelInfo/addLable', data)
}
//修改置标管理数据
export function updateList(data) {
    return axios.post('collect/tLabelInfo/addLable', data)
}
//删除置标管理数据
export function deleteList(data) {
    return axios.post(`collect/tLabelInfo/deleteLalbe`, data)
}
//置标审核
export function getListEx(data) {
    return axios.post(`collect/tDataAudit/selectList`, data)
}
//数据置标审核
export function selectListTwo(data) {
    return axios.post(`collect/tDataAudit/selectListTwo`, data)
}
// 文档置标
export function setFileLable(data) {
    return axios.post(`collect/tLabelInfo/setFileLable`, data)
}
// 置标提交
export function labelSubmit(data) {
    return axios.post(`collect/tLabelInfo/labelSubmit`, data)
}
export function selectListTwo2(data) {
    return axios.post(`collect/tLabelInfo/selectListTwo`, data)
}


//整编库管理数据接口
export function selectList(data) {
    return axios.post('collect/projectReorganize/selectList', data)
}
//整编库管理数据接口
export function TwoselectList(data) {
    return axios.post('collect/projectReorganize/selectListTwo', data)
}

//修改整编库数据
export function addLable(data) {
    return axios.post('collect/projectReorganize/addLable', data)
}
//删除整编库数据
export function deleteLalbe(data) {
    return axios.post(`collect/projectReorganize/deleteLalbe`, data)
}

// 整编库审核列表
export function TselectList(data) {
    return axios.post('collect/tprojectfile/selectList', data)
}
// 文件整编置标
export function TsetFileLable(data) {
    return axios.post(`collect/projectReorganize/setFileLable`, data)
}
// 文件整编提交
export function TlabelSubmit(data) {
    return axios.post(`collect/projectReorganize/labelSubmit`, data)
}

//文件整编审核
export function TselectListTwo(data) {
    return axios.post(`collect/tprojectfile/selectListTwo`, data)
}

// 整编库类型管理========================
// 查询整编库类型数据
export function getZbkType(data) {
    return axios.get(`collect/tprojectfile/getType`, data)
}
// 修改整编库类型
export function saveZbkType(data) {
    console.log(data);
    return axios.get(`collect/tprojectfile/saveType?creator=${data.creator}&id=${data.id}&type_name=${data.type_name}`, data)
}
// 删除整编库类型
export function deleteZbkType(data) {
    return axios.get(`collect/tprojectfile/deleteType/${data}`)
}

